package me.zhengjie.modules.domain.enterprise;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import me.zhengjie.modules.domain.BaseClass;

import java.util.Date;

@Data
@TableName("enterprise_administrative")
public class EnterpriseAdministrative extends BaseClass {

    @TableId
    private Long id;

    @ApiModelProperty(value = "决定日期/有效期自")
    @TableField(value = "decision_date")
    private Date decisionDate;

    @ApiModelProperty(value = "截止日期/有效期至")
    @TableField(value = "end_date")
    private Date endDate;

    @ApiModelProperty(value = "许可文件编号/文书号")
    @TableField(value = "license_number")
    private String licenseNumber;

    @ApiModelProperty(value = "许可文件名称")
    @TableField(value = "licence_name")
    private String licenceName;

    @ApiModelProperty(value = "决定许可机关")
    @TableField(value = "licence_department")
    private String licenceDepartment;

    @ApiModelProperty(value = "许可内容")
    @TableField(value = "licence_content")
    private String licenceContent;

    @ApiModelProperty(value = "数据来源")
    @TableField(value = "source")
    private String source;

    @ApiModelProperty(value = "审核类型（source=信用中国时返回数据）")
    @TableField(value = "audit_type")
    private String auditType;

    @ApiModelProperty(value = "法定代表人（source=信用中国时返回数据）")
    @TableField(value = "legal_person_name")
    private String legalPersonName;

    @ApiModelProperty(value = "地方编码（source=信用中国时返回数据)")
    @TableField(value = "area_code")
    private String areaCode;

    @ApiModelProperty(value = "数据更新时间（source=信用中国时返回数据）")
    @TableField(value = "data_update_time")
    private String dataUpdateTime;

    @ApiModelProperty(value = "企业id")
    @TableField(value = "companies_id")
    private Long companiesId;

    @ApiModelProperty(value = "批次号")
    @TableField(value = "batch_id")
    private Long batchId;
}
